﻿<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ds_dangky.aspx.vb" Inherits="kdadmin.ds"%>
<%@ Register TagPrefix="uc1" TagName="kiemtra" Src="../common/kiemtra.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.01 Transitional//EN">
<HTML>
	<HEAD>
		<title>Thay loi cam on 2010</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="VBScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../../Styles.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body MS_POSITIONING="FlowLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:kiemtra id="Kiemtra1" quyen="2,4,8" runat="server"></uc1:kiemtra>
			<table id="Table1" cellSpacing="1" cellPadding="1">
				<tr>
					<td><h2>Danh sách đăng ký chương trình "Thay Lời Cảm Ơn"</h2>
					</td>
				</tr>
				<tr>
					<td><b>Khu vực: </b>
						<asp:DropDownList ID="ddlKhuvuc" Runat="server">
							<asp:ListItem>------- Tất cả -------</asp:ListItem>
							<asp:ListItem>TP. Hồ Chí Minh</asp:ListItem>
							<asp:ListItem>Hà Nội</asp:ListItem>
							<asp:ListItem>Đà Nẵng</asp:ListItem>
							<asp:ListItem>Cần Thơ</asp:ListItem>
						</asp:DropDownList>
						<span style="PADDING-LEFT:30px"><b>Từ ngày: </b>
							<asp:textbox ID="txtTuNgay" Runat="server" Width="100" /></span> <span style="PADDING-LEFT:10px">
							<b>Đến ngày: </b>
							<asp:textbox ID="txtDenNgay" Runat="server" Width="100" /></span>
						<asp:button ID="btnSubmit" Runat="server" Text="Submit" />
						<asp:Button ID="btnExport" Runat="server" Text="Export To Excel"></asp:Button>
					</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td><asp:datagrid id="grdDangky" runat="server" AutoGenerateColumns="False" BorderColor="#CC9966"
							BorderStyle="None" BorderWidth="1px" BackColor="White">
							<HeaderStyle Font-Bold="True" HorizontalAlign="Center" ForeColor="#ff6600" BackColor="#990000"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="ngayguivn" HeaderText="Ngày nhận" ItemStyle-Width="60"></asp:BoundColumn>
								<asp:BoundColumn DataField="hoten" HeaderText="Tên khách hàng" ItemStyle-Width="120"></asp:BoundColumn>
								<asp:BoundColumn DataField="diachiso" HeaderText="Số nhà" ItemStyle-Width="50"></asp:BoundColumn>
								<asp:BoundColumn DataField="duong" HeaderText="Đường" ItemStyle-Width="110"></asp:BoundColumn>
								<asp:BoundColumn DataField="phuong" HeaderText="Phường/<br>Xã" ItemStyle-Width="50" ItemStyle-HorizontalAlign="center"></asp:BoundColumn>
								<asp:BoundColumn DataField="quan" HeaderText="Quận/<br>Huyện" ItemStyle-Width="70" ItemStyle-HorizontalAlign="center"></asp:BoundColumn>
								<asp:BoundColumn DataField="tinhthanh" HeaderText="Tỉnh thành" ItemStyle-Width="90" ItemStyle-HorizontalAlign="center"></asp:BoundColumn>
								<asp:BoundColumn DataField="dienthoai" HeaderText="Điện thoại" ItemStyle-Width="70" ItemStyle-HorizontalAlign="center"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="Thông tin sử dụng" ItemStyle-Width="200">
									<ItemTemplate>
										<asp:Label ID="Label8" Text='<%# iif(DataBinder.Eval(Container.DataItem, "option1")<>"",DataBinder.Eval(Container.DataItem, "option1") + ";","") + iif(DataBinder.Eval(Container.DataItem, "option2")<>"", DataBinder.Eval(Container.DataItem, "option2") + ";","") + iif(DataBinder.Eval(Container.DataItem, "option3")<>"", DataBinder.Eval(Container.DataItem, "option3"),"")%>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
								<asp:BoundColumn DataField="ghichu" HeaderText="Ghi chú"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="Delete" ItemStyle-HorizontalAlign="center">
									<ItemTemplate>
										<asp:Label ID="Delete" Text='<%# "<a href=""ds_dangky.aspx?id=" + DataBinder.Eval(Container.DataItem, "id").toString()+ """><img src=""../../images/delete.gif"" border=0></a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
							<PagerStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></PagerStyle>
						</asp:datagrid>
					</td>
				</tr>
				<tr>
					<td></td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
